// Package productcategory
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package productcategory

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询商品分类列表
type ListReq struct {
	g.Meta `path:"/productCategory/list" method:"get" tags:"商品分类" summary:"获取商品分类列表"`
	sysin.ProductCategoryListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.ProductCategoryListModel `json:"list" dc:"数据列表"`
}

// ViewReq 获取商品分类指定信息
type ViewReq struct {
	g.Meta `path:"/productCategory/view" method:"get" tags:"商品分类" summary:"获取商品分类指定信息"`
	sysin.ProductCategoryViewInp
}

type ViewRes struct {
	*sysin.ProductCategoryViewModel
}

// EditReq 修改/新增商品分类
type EditReq struct {
	g.Meta `path:"/productCategory/edit" method:"post" tags:"商品分类" summary:"修改/新增商品分类"`
	sysin.ProductCategoryEditInp
}

type EditRes struct{}

// DeleteReq 删除商品分类
type DeleteReq struct {
	g.Meta `path:"/productCategory/delete" method:"post" tags:"商品分类" summary:"删除商品分类"`
	sysin.ProductCategoryDeleteInp
}

type DeleteRes struct{}

// MaxSortReq 获取商品分类最大排序
type MaxSortReq struct {
	g.Meta `path:"/productCategory/maxSort" method:"get" tags:"商品分类" summary:"获取商品分类最大排序"`
	sysin.ProductCategoryMaxSortInp
}

type MaxSortRes struct {
	*sysin.ProductCategoryMaxSortModel
}

// StatusReq 更新商品分类状态
type StatusReq struct {
	g.Meta `path:"/productCategory/status" method:"post" tags:"商品分类" summary:"更新商品分类状态"`
	sysin.ProductCategoryStatusInp
}

type StatusRes struct{}


